<div class="mg-b-15">
	<div class="uiHeaderBottomBorder">
		<h4 class="mg-b-5"><?=Yii::t('adv','pricing_schedule')?></h4>
	</div>
	<div class="ui-box-gray pa-20">
		<p class="desc"><?=Yii::t('adv','pricing_schedule_set')?></p>
		<br>
		<div class="over-hidden">
			<?php echo $form->labelEx($model,'cpuv',array('class'=>'float-left'));?>
			<div class="float-left select">
			<?php 
			 $priceList = array('0.1'=>'1: 0.10','0.2'=>'2: 0.20','0.3'=>'3: 0.30',
			 					'0.4'=>'4: 0.40','0.5'=>'5: 0.50','0.6'=>'6: 0.60',
			 					'0.7'=>'7: 0.70');
			 echo $form->dropDownList($model,'cpuv',$priceList,array('value'=>'0.4'));
			  echo $form->error($model,'cpuv');?>
			</div>
			<div class="desc h32 float-left mg-l-10"><?=Yii::t('adv','cpuv_explain')?></div>
		</div>
		
		<hr>
		<p class="desc"><?=Yii::t('adv','period_explain')?></p>
		<br>
		
		<div class="over-hidden">
			<label><?php echo Yii::t('adv', 'period');?></label>
			<div class="float-left">
				<?php $this->widget('zii.widgets.jui.CJuiDatePicker',
						array('id'=>'fromDate','language'=>'zh',
							  'model'=>$model,'attribute'=>'fromDate',
							  'htmlOptions'=>array('style'=>'width:90px'),
						));
				?>
			</div>
			<span class="float-left h">&nbsp;~&nbsp;</span>
			<div class="float-left">
				<?php $this->widget('zii.widgets.jui.CJuiDatePicker',
						array('id'=>'toDate','language'=>'zh',
							  'model'=>$model,'attribute'=>'toDate',
							  'options'=>array('dateFormat'=>'yy-mm-dd',),
							  'htmlOptions'=>array('style'=>'width:90px'),
						));
				?>
			</div>
			<div class="float-left h32 mg-l-10 checkbox">
				<?php echo $form->checkBox($model,'all_time',array('id'=>'all_time'));?>
				<?php echo $model->getAttributeLabel('all_time');?>
			   	<?php echo $form->error($model,'all_time');?>
			</div>
		</div>
		
		<!--  <div class="over-hidden">
			<label>Advertising Hour</label>
			<div class="float-left timeScheduleSection">
				<div class="over-hidden timeSchedule" index="1">
					<?php //$hourList = array();for($i=0;$i<=24;$i++) $hourList[$i]=$i.':00'; 
					 //echo $form->dropDownList($model,'from_hour',$hourList,array('id'=>'AdReviewFrom','class'=>'float-left from'));
			  		 //echo $form->error($model,'from_hour');?>
					<span class="float-left h32">&nbsp;~&nbsp;</span>
					<?php
					 //echo $form->dropDownList($model,'to_hour',$hourList,array('id'=>'AdReviewTo','class'=>'float-left to'));
			  		 //echo //$form->error($model,'to_hour');
			  		 ?>
					<a class="btn float-left addTimeSchedule" style="display: block;">+</a>
				</div>
			</div>
		</div>-->
		
		
	</div>
</div>